﻿namespace BToolkit
{
    public class ProtoBase
    {
        /// <summary>
        /// 协议ID
        /// </summary>
        public int id;

        /// <summary>
        /// 客户端不用赋值，服务端会赋值后发回
        /// </summary>
        public int fromClientId;

        /// <summary>
        /// -1全部(排除自己) 0全部(包括自己) >0指定目标
        /// </summary>
        public int toClientId;

        /// <summary>
        /// 只发回给自己
        /// </summary>
        public bool sendBackToMeOnly;

        /// <summary>
        /// 子数据
        /// </summary>
        public string data;
    }
}
